Request headers

Only registered user can perform this action
  Authentication - string - required
    Example of Authentication header : "Bearer TOKEN_FETCHED_FROM_SERVER_DURING_REGISTRATION"

Request body example

{
  examResult: {
    "13": [39],
    "14": [43, 44],
    ...
  }
}

Success response body

{
  "exam_results": 2.5
}

Params

Param name Description
id
required

Validations:

  • Must be a Integer

examResult
required

Validations:

  • Must be a Hash

examResult[question_id]
required

Key must be a Integer. See request body example

Validations:

  • Must be an array of Integer